#ifndef MAKEMKVINFO_H
#define MAKEMKVINFO_H

#include <QString>
#include <QList>
#include "apdefs.h"


class MakemkvMSG
{
public:
    QString msg;
};
class MakemkvToken
{
public:
    QString id;
    QString value;
    QString keyValue;
};
class MakemkvSINFO
{
public:
    MakemkvSINFO(){
        isSubtitle=false;
    }
    bool isSubtitle;
    QString id;
    QList<MakemkvToken> items;
};
class MakemkvTINFO
{
public:
    MakemkvTINFO(){
        rip = true;
        exitCode = 0;
        exitStatus = 0;
        ripping = 0;
        hasError = false;
        size=0;
        hasSpanish=false;
        ripped = false;
    }
    QString id;
    bool rip;
    int exitCode;
    int exitStatus;
    bool ripping;
    bool hasError;
    qulonglong size;
    bool hasSpanish;
    bool ripped;
    QList<MakemkvToken> items;
    QList<MakemkvSINFO> sinfos;
};

class MakemkvCINFO
{
public:
    QList<MakemkvToken> items;
    QList<MakemkvTINFO> tinfos;
};
class MakemkvInfo{
public:
    int count;
    QList<MakemkvMSG> msgs;
    MakemkvCINFO cinfo;
};

#endif // MAKEMKVINFO_H
